﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CourseDetails.aspx.cs" Inherits="CourseDetails" %>

<%@ PreviousPageType VirtualPath="~/AllCourse.aspx" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
     <link rel="stylesheet" type="text/css" href="css/Detail.css"/>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <div id="header" style="background-color: #4D8AB3;">
                <div>
                    <asp:Button ID="btnAdmin" runat="server" Text="登录" OnClick="btnLogin_Click" title="返回上级"/>
                </div>
                <%--<div style="float:right">
               <asp:Label ID="lblKey" runat="server" Text="关键字"  style="text-align:left"></asp:Label>
                <asp:TextBox ID="txtSearch" runat="server" ></asp:TextBox>
                <asp:Label ID="lblquery" runat="server" Text="查询"></asp:Label>
            </div>  --%>
            </div>
        <div style="text-align: center; height:120px; width: 100%">
    
              <asp:ImageButton ID="Image2" runat="server" Height="100px" ImageAlign="Left" ImageUrl="~/images/校标.png" Width="100px" OnClick="btnLogin_Click" alt="返回课程页面" title="返回课程页面"/>
              <p id="name">学生成绩管理系统</p>

        </div>
            <asp:DetailsView ID="dvDetails" runat="server" AutoGenerateRows="False" DataKeyNames="id" Height="560px" Width="100%" BackColor="White"    CellPadding="3">
                <EditRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
                <FooterStyle BackColor="White" ForeColor="#000066" />
                <FooterTemplate>
                    <div style="text-align: left;margin-left:100px;margin-bottom:30px">
                        <asp:Image ID="imgPhoto" runat="server" ImageUrl='<%# Eval("photo") %>'  Height="300px" BorderColor="#CCCCCC" BorderWidth="5px" />
                        <br />
                    </div>
                    <asp:Label ID="lblProperty" runat="server" Text='<%# Eval("property") %>'></asp:Label>
                </FooterTemplate>
                <HeaderStyle BackColor="White" Font-Bold="True" ForeColor="White" />
                <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
                <RowStyle ForeColor="#000066" />
            </asp:DetailsView>
        </div>





    </form>
    <div id="footer" style="clear: both;position:absolute; bottom: 0px">
    </div>
</body>
</html>
